#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdlib.h>
//#include <iostream>
//using namespace std;
//
//int globalVar = 1;
//static int staticGlobalVar = 1;
//
//int main()
//{
//	static int staticVar = 1;
//	int localVar = 1;
//	int num1[10] = { 1, 2, 3, 4 };
//	cout << sizeof(num1) << endl;
//
//	char char2[] = "abcd";
//
//	cout << sizeof(char2) << endl;
//
//	const char* pChar3 = "abcd";
//
//	cout << sizeof(pChar3) << endl;
//	cout << strlen(pChar3) << endl;
//
//	int* ptr1 = (int*)malloc(sizeof(int) * 4);
//
//	cout << sizeof(pChar3) << endl;
//
//	int* ptr2 = (int*)calloc(4, sizeof(int));
//	int* ptr3 = (int*)realloc(ptr2, sizeof(int) * 4);
//	free(ptr1);
//	free(ptr3);
//	return 0;
//}

//#include <iostream>
//using namespace std;
//
//class A
//{
//public:
//	A()
//		:_year(2024)
//		, _month(5)
//		, _day(12)
//	{
//		cout << "A()" << endl;
//	}
//	~A()
//	{
//		cout << "~A()" << endl;
//	}
//private:
//	int _year;
//	int _month;
//	int _day;
//};
//
//int main()
//{
//	A* pa = new A[10];
//	delete []pa;
//	return 0;
//}

#include<stdio.h>

int main(void)

{
    float weight;

    float value;

    printf("Are you worth your weight in rhodium?\n");

    printf("Let is check it out.\n");

    printf("Please enter your weight in pounds:");

    scanf("%f", &weight);

    value = 770 * weight * 14.5833;

    printf("You weight in rhodium is worth $%.2f.\n", value);

    printf("You are easily worth that! If rhodium prices drop,\n");

    printf("eat more to maintain your value.\n");

    return 0;

}
